Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@mbostock
mbostock / .block
Last active April 28, 2026 11:34
Force-Directed Graph
license: gpl-3.0
height: 600
redirect: https://observablehq.com/@d3/d3-force-directed-graph
@nekiee13
nekiee13 / gist:c8ec43bce5fd75d20e38b31a613fd83d
Created January 30, 2024 03:56
Install Ollama under Win11 & WSL - CUDA Installation guide
CMD prompt - verify WSL2 is installed
`wsl --list --verbose`
or
`wsl -l -v`
git clone CUDA samples - I used location at disk d:\\LLM\\Ollama , so I can find samples with ease
`d: && cd d:\LLM\Ollama`
`git clone --recursive -j6 https://github.com/NVIDIA/cuda-samples.git`
@magnetikonline
magnetikonline / README.md
Last active April 28, 2026 11:29
NSSM - the Non-Sucking Service Manager cheatsheet.
@graimon
graimon / my-claude-setup-guide.md
Last active April 28, 2026 11:28
My Claude Code Setup Guide

My Claude Code Setup Guide (macOS)

A step-by-step guide to installing and configuring Claude Code on macOS, the way I use it. This isn't meant to be the definitive reference -- it's just my personal setup that's been working well for me. Things change fast, so if something looks off, check the official docs or let me know.


Table of Contents

  1. Install Claude Code
  2. Install GitHub CLI (gh)
Act as a Senior Software Engineer and build a simple Ticket Booking System backend using Express.js and SQLite.
Requirements:
- REST API only, no frontend
- Use SQLite with automatic table creation and seed data
- Support users, events, and bookings
- Let users browse events and book tickets
- Prevent overbooking
- Calculate booking price
- Allow booking cancellation and return seats back to the event
@WALKAL0NE
WALKAL0NE / angle-window.astro
Created April 28, 2026 00:39
WALKALONE_LAB — angle-window.astro
---
import Layout from '@/layouts/Layout.astro';
import { loopCount } from '@walkal0ne/lasagna';
export const options = {
title: 'Angle Window',
description: 'Stacked rings of windows rotating in 3D, each row independently controlled.',
created: '20260427',
ref: 'https://youtu.be/QWN4nZUt39M?si=nZbQC9TYejXH8xVI/'
}
@mberman84
mberman84 / oc.md
Created February 16, 2026 19:42
OpenClaw Prompts

OpenClaw Prompts - Build Your Own AI Assistant

Prompts to recreate each piece of the OpenClaw system. Use these with any AI coding assistant.


1. Personal CRM "Build a personal CRM that automatically scans my Gmail and Google Calendar to discover contacts from the past year. Store them in a SQLite database with vector embeddings so I can query in natural language ('who do I know at NVIDIA?' or 'who haven't I talked to in a while?'). Auto-filter noise senders like marketing emails and newsletters. Build profiles for each contact with their company, role, how I know them, and our interaction history. Add relationship health scores that flag stale relationships, follow-up reminders I can create, snooze, or mark done, and duplicate contact detection with merge suggestions. Link relevant documents from Box to contacts so when I look up a person, I also see related docs."

2. Meeting Action Items (Fathom)